//
//  ChatScreenViewController.h
//  Bluetooth Chat App
//
//  Created by iD Student on 7/17/13.
//  Copyright (c) 2013 ZTBWorks. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "AppDelegate.h"
#import <GameKit/GameKit.h>
#import "SettingsViewController.h"

@interface ChatScreenViewController : UIViewController <UITableViewDataSource, UITableViewDelegate, UITextFieldDelegate, GKSessionDelegate, GKSessionDelegate, UIAlertViewDelegate, GKPeerPickerControllerDelegate>
{
    IBOutlet UITextField *textField;
    IBOutlet UITableView *chatView;
    
    NSMutableArray *chatMessages;
}

@property (readonly) AppDelegate *appDelegate;

- (void) receiveData:(NSData *)data
            fromPeer:(NSString *)peer
           inSession:(GKSession *)session
             context:(void *)context;

-(IBAction) goToSettings:(id)sender;

@end
